//COM对象
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <cstdio>
#include <cstdlib>


if(riid == IMathGuid)
{
    *ppvObj = (IMath*)this;
    return S_OK;
}